{% extends "base.html" %}
{% load i18n %}

{% block block_title %} Region {% endblock %}

{% block breadcrumb %}
    {{ block.super }} &raquo; {% trans 'Regions' %}
{% endblock %}

{% block system_messages %}
    <div class="messages">
        {% for msg in system_messages %}
        <div class="message {{ msg.type }}"><p>{{ msg.message }}</p></div>
        {% endfor %}
    </div>
{% endblock %}

{% block block_content %}
    <div class="block">
        <div class="block_head">
            <div class="bheadl"></div>
            <div class="bheadr"></div>
        </div>
        <div class="block_content">
            <form action="{% url update_region object_id %}" method="post">
                {% csrf_token %}
                <label>
                    {% trans 'Region' %}:<br />
                    {{ form.region_name }}
                </label>
                <div class="clear"></div>
                <br />
                <input type="submit" class="submit mid add-button" value="{% trans 'Update' %}" />
            </form>
        </div>
        <div class="bendl"></div>
        <div class="bendr"></div>
    </div>
{% endblock %}